package com.gw.vip.server.dto;

import com.gw.vip.server.sign.SignDto;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 * @author GW 光武
 * @description
 * @since 2023-03-25
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PanOpenDto extends SignDto {
    /**
     * 店铺号
     */
    private String shopId;

    /**
     * 客户订单号
     */
    @NotBlank(message = "客户订单号不可为空")
    private String clientOrder;

    /**
     * 卡号
     */
    @NotBlank(message = "卡号不可为空")
    private String pan;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 支付金额
     */
    private BigDecimal payAmt;

    /**
     * 赠送金额
     */
    private BigDecimal rebateAmt;
}
